<%@ page contentType="text/html; charset=utf-8" language="java" %>
<%@ include file="/common/path.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Expires" content="0" />
<title></title>
<link href="<%=basePath%>resources/grid/css/common.css" rel="stylesheet" type="text/css"/>
<link href="<%=basePath%>resources/grid/css/ui.css" rel="stylesheet" type="text/css"/>
<link href="<%=basePath%>resources/grid/css/ui.base.css" rel="stylesheet" type="text/css"/>
<link href="<%=basePath%>resources/grid/css/ui.jqgrid.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
document.write("<scr"+"ipt src=\"<%=basePath%>resources/jquery/jquery.min.js\"></sc"+"ript>");
document.write("<scr"+"ipt src=\"<%=basePath%>resources/util/forbidBackSpace.js\"></sc"+"ript>");
document.write("<scr"+"ipt src=\"<%=basePath%>resources/dialog/lhgdialog.js?self=true&skin=mac\"></sc"+"ript>");
document.write("<scr"+"ipt src=\"<%=basePath%>resources/grid/js/common.js\"></sc"+"ript>");
document.write("<scr"+"ipt src=\"<%=basePath%>resources/grid/js/jqgrid.local.cn.js\"></sc"+"ript>");
document.write("<scr"+"ipt src=\"<%=basePath%>resources/grid/js/jqgrid.base.js\"></sc"+"ript>");
document.write("<scr"+"ipt src=\"<%=basePath%>resources/grid/js/jqgrid.custom.js\"></sc"+"ript>");
document.write("<scr"+"ipt src=\"<%=basePath%>resources/util/json2.js\"></sc"+"ript>");
</script> 
</head>
<body id="main_content">
<form name="form1" method="post" action="" id="form1">
<input type="hidden" id="st_id" name="st_id" value="${set.st_id}"/>
<div class="border">
	<div class="content">
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td class="top-b border-b">
				
					<span id="span_st_useable">
						可用库存：
						<label class="radio" style="width:30px">
	  	 					<input name="_st_useable" type="radio" value="0" ${set.st_useable eq 0 ? 'checked' : '' }/>不启用
		  	 			</label>
		  	 			<label class="radio" style="width:30px">
		  	 				<input name="_st_useable" type="radio" value="1" ${set.st_useable eq 1 ? 'checked' : '' }/>启用
		  	 			</label>
						<input type="hidden" id="st_useable" name="st_useable" value="${set.st_useable}"/>
					</span>
					&nbsp;&nbsp;&nbsp;&nbsp;<font color="red">公式</font>：可用库存=当前库存
					<span id="expression">
					</span>
				
					<input type="button" id="btn-save" class="t-btn btn-red" style="float:right;" value="保存" onclick="javascript:handle.save();"/>
				</td>
			</tr>
		</table>
		<div class="grid-wrap">
		    <table id="grid">
		    </table>
	    	<div id="page"></div>
		</div>
	</div>
</div>
</form>
<script src="<%=basePath%>data/stock/useable/useable_update.js"></script>
</body>
</html>